package com.aaa.mks.service;

import com.aaa.common.bo.OperLog;
import com.aaa.common.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 操作日志记录(OperLog)表服务接口
 *
 * @author makejava
 * @since 2020-12-03 08:39:00
 */
@FeignClient("contentService")
public interface OperLogService {


    /**
     * 远程调用服务contentService中 新增数据
     *
     * @param operLog 实例对象
     * @return 实例对象
     */
    @PostMapping("/operLog/insert")
    OperLog insert(@RequestBody OperLog operLog);


}